/**
* @Author:wjp
* @Date:2021/1/25 1:25 下午
 */
package xerr

// 操作成功
const OK = 0

//客户端版本不对，需升级sdk
const IM_SDK_SERISON_NO = 201

//被封禁
const IM_BAN_AND_SEAL = 301

//用户名或密码错误
const IM_USER_PWD_FAIL = 302

//IP限制
const IM_IP_BAN = 305

//非法操作,或没有权限
const IM_LLLEGAL_OPERATION = 403
//
//对象不存在
const IM_CLASS_NO = 404
//参数错误
const PARAMETER_ERR = 400
//参数长度过长
const IM_PARAMETER_NO_LONG = 405

//客户端请求超时
const IM_CLIENT_TIMEOUT = 408

//短信验证失败
const IM_SMS_CODE = 413

//参数错误
const IM_PARAMETER_ERROR = 414

//频率控制
const IM_FREQUENCY_CONTROL = 416

//重复操作
const IM_REPEAT_OPERATION = 417

//账号禁用
const IM_ACCOUNT_DISABLE = 422

//禁言
const IM_FORBIDDEN_SPEECH = 423

//http重复请求
const IM_HTTP_REPEAT_REQUEST = 431

//服务器内部错误
const IM_SERVICE_FAIL = 500

//服务不可用
const IM_SERVICE_NO = 514
//新建错误
const DB_CREATE_ERR = 1001
//查询错误
const DB_QUERY_ERR =1002
//更新失败
const DB_UPDATE_ERR =1003
//删除失败
const DB_DELETE_ERR =1004
// 全局错误码
// 前3位代表业务,后三位代表具体功能

const  (
 //暂无此用户
 USER_QUERY_ERROR = iota+ 100001
 USER_PARAM_ERROR
 //token生成失败
 USER_TOKEN_ERROR
 //无此用户
 USER_NO_ERROR
 //密码错误
 USER_PASSWORD_ERROR
) 

